package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//冻结详情
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Freeze implements Serializable {

    //设置主键类型为用户输入
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户Id
    private Long userId;
    //冻结时间 1为冻结3天，2为冻结7天，3为永久冻结
    private Integer freezingTime;
    //冻结范围 1为冻结登录，2为冻结发言，3为冻结发布动态
    private Integer freezingRange;
    //冻结原因
    private String cause;
    //冻结备注
    private String remark;
}
